package com.hoshiicloud.vericenter.entity.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @program: hoshiibuy
 * @description: 发送短信参数
 * @author: Mr.wu
 * @create: 2019-05-20 15:44
 **/
@Data
@ApiModel(value = "发送短信参数")
public class SendMsgParam implements Serializable {
    @ApiModelProperty(value = "接收的手机号，发送多个手机号请以英文逗号分隔",required = true,example = "13960866938")
    private String mobile;

    @ApiModelProperty(value = "短信内容,和模板发送二选一")
    private String msg;

    @ApiModelProperty(value = "发送类型:single:单发模式;batch:群发模式",example = "single")
    private String type;

    @ApiModelProperty(value = "模板参数值,json字符串格式,传入模板id时必填")
    private String tplValue;

    @ApiModelProperty(value = "短信模板id")
    private String tplId;
}
